/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tp.ISP.violation;

import java.util.logging.Level;
import java.util.logging.Logger;

/**
 *
 * @author Devon
 */
public class Cat implements Animal {

    public
    void fly()
    {
        try
        {
            throw new Exception("Undefined cat property");
        }
        catch (Exception ex)
        {
            Logger.getLogger(Cat.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

    public
    void run()
    {
        throw new UnsupportedOperationException("Not supported yet.");
    }

    public
    void bark()
    {
        try
        {
            throw new Exception("Undefined cat property");
        }
        catch (Exception ex)
        {
            Logger.getLogger(Cat.class.getName()).log(Level.SEVERE, null, ex);
        }
    }

}
